// JavaScript Document
function checkexistform(){
	var valid = true;
	$('.selectCon1').each(function(j){
		if($(this).find("option:selected").val()==""){
			alert("Please select country!");
			$(this).focus();
			valid = false;
			return false;
		}else if($(".txtprice:eq("+j+")").val()==""){
			alert("Please input price!");
			$(".txtprice:eq("+j+")").focus();
			valid = false;
			return false;
		}else if($(".labor:eq("+j+")").val()==""){
			alert("Please input laboratory!");
			$(".labor:eq("+j+")").focus();
			valid = false;
			return false;
		}
	});
	if(valid== true){
		document.frmadd.action="process.php?action=addexist";
		document.frmadd.submit();
	}
}